<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<jsp:include flush="true" page="../header.jsp"></jsp:include>
<script language=javascript>
 //直接改变地址
 setInterval("document.location.href='../jingyanku/list_category.action'",5000)
</script>

<div id="main">

	<!-- Thread Start -->
	<div class="t" style="margin-bottom: 0px; border-bottom: 0">
		<table cellspacing="0" cellpadding="0" width="100%">
			<tr>
				<th class="h">
					<strong class="fl w">操作成功</strong>
				</th>
			</tr>
		</table>
	</div>

	<div class="t t2">
		<table cellspacing="0" cellpadding="0" width="100%"
			style="table-layout: fixed; border-top: 0">
			<tr class="tr1">
				<th style="text-align: center; line-height: 20px;">
				<s:if test="#request.op=='add'">
					<s:url action="initAdd_board" id="url">
						<s:param name="category.id">${ category.id }</s:param>
					</s:url>
					<s:a href="%{url}">继续添加</s:a>
					<br />
					</s:if>
					<s:elseif test=""#request.op=='setAdmin'">
					版主设置成功！
					</s:elseif>
					<s:url action="list_category" id="url">
					<s:param name="result">admin</s:param>
					</s:url>
					<s:a href="%{url}">回到首页</s:a>
				</th>
			</tr>
				<tr class="tr1">
				<th style="text-align: center; line-height: 20px; color: red">
				<s:actionmessage/>
				</th>
			</tr>
		</table>
	</div>

	<jsp:include flush="true" page="../footer.jsp" />